package com.roadmap.entities.ext;

import com.roadmap.entities.LifePlan;

public class PlanExt extends LifePlan {
	private String goalName;
	private int progress;
	private int taskCount;
	private int status;
	private int assignedProportion;
	private String symptom;

	public PlanExt() {
	}

	public PlanExt(LifePlan plan) {
		this.setPlan(plan);
	}

	public void setPlan(LifePlan plan) {
		this.copyValues(plan);
	}
	
	public LifePlan getPlan() {
		LifePlan plan = new LifePlan();
		this.copyValues(this);
		/*plan.setAspirantId(this.getAspirantId());
		plan.setContent(this.getContent());
		plan.setGoalId(this.getGoalId());
		plan.setCreatedTime(this.getCreatedTime());
		plan.setId(this.getId());
		plan.setRealEndDate(this.getRealEndDate());
		plan.setRealStartDate(this.getRealStartDate());
		plan.setScheduledEndDate(this.getScheduledEndDate());
		plan.setScheduledStartDate(this.getScheduledStartDate());
		plan.setScore(this.getScore());
		plan.setUpdatedTime(this.getUpdatedTime());
		plan.setName(this.getName());*/
		return plan;
	}

	public String getGoalName() {
		return goalName;
	}

	public void setGoalName(String goalName) {
		this.goalName = goalName;
	}

	public int getProgress() {
		return progress;
	}

	public void setProgress(int progress) {
		this.progress = progress;
	}

	public int getTaskCount() {
		return taskCount;
	}

	public void setTaskCount(int taskCount) {
		this.taskCount = taskCount;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getSymptom() {
		return symptom;
	}

	public void setSymptom(String symptom) {
		this.symptom = symptom;
	}

	public int getAssignedProportion() {
		return assignedProportion;
	}

	public void setAssignedProportion(int assignedProportion) {
		this.assignedProportion = assignedProportion;
	}


}
